package com.haiyangwang1.inherite;

public class Persons {
    private String name;
    public String type;
    protected int age;
    double money;

    public Persons() {
        this.type = "java";
    }

    public Persons(int n) {
        System.out.println("Person.Person");
    }

    public void show(){
        System.out.println("Person.show");
    }
}
